import {QL} from 'iflux2'

//将订单状态合入订单数据中
export const listQL = QL('listQL', [
    'list',
    'orderMapStatus',
    (list, orderMapStatus) => list.map(order => order.set('key', order.get('tid')).set('orderStatus', orderMapStatus.get(order.get('tid'))))
])